//
//  TMMyComplaintController.m
//  国学商家管理
//
//  Created by Tao Li on 2018/6/29.
//  Copyright © 2018年 mac. All rights reserved.
//

#import "TMMyComplaintController.h"
#import "TMUserCompanitController.h"
@interface TMMyComplaintController ()
@property (weak, nonatomic) IBOutlet UITableViewCell *bussinessCell;

@end

@implementation TMMyComplaintController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.title = @"投诉";
    self.bussinessCell.hidden = YES;
    self.tableView.tableFooterView = [UIView new];
}

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{
    TMUserCompanitController *vc = [[UIStoryboard storyboardWithName:@"Mine" bundle:nil] instantiateViewControllerWithIdentifier:@"TMUserCompanitController"];
    vc.isBussiness = NO;
//    if (indexPath.row == 0) {
//        vc.isBussiness = YES;
//    }
//    if (indexPath.row == 1) {
//        vc.isBussiness = NO;
//    }
    [self.navigationController pushViewController:vc animated:YES];
}
-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    if (indexPath.row == 0) {
        return 0;
    }else{
        return 58;
    }
}
@end
